package cn.hsa.fqz.task.dao;

import cn.hsa.fqz.task.entity.TTaskProcess;
import cn.hsa.fqz.task.service.dto.TaskFlowQueryDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TTaskProcessMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TTaskProcess record);

    int insertSelective(TTaskProcess record);

    TTaskProcess selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TTaskProcess record);

    int updateByPrimaryKey(TTaskProcess record);

    List<TTaskProcess> getFlowPageByCondition(@Param("param") TaskFlowQueryDTO.Condition condition);
}
